package com.gagakuai.demo.aop.early;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/*
 * @program: settement
 * @description:
 * @author: houhong
 * @create: 2022-11-13 16:18
 */
public class MainTest {

    public static void main(String[] args) {

        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MainConfig.class);

        TestUseImpl bean = context.getBean("userProxy", TestUseImpl.class);
        System.out.println(bean.sayHello());

    }
}